home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 124 / cd-rom 124.iso / edu / tuxmath / tuxmathscrabble / tuxmathscrabble.exe / types.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2003-11-16  |  2.7 KB  |  88 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.2)
  3.  
  4. from __future__ import generators
  5. import sys
  6. NoneType = type(None)
  7. TypeType = type
  8. ObjectType = object
  9. IntType = int
  10. LongType = long
  11. FloatType = float
  12.  
  13. try:
  14.     ComplexType = complex
  15. except NameError:
  16.     pass
  17.  
  18. StringType = str
  19.  
  20. try:
  21.     UnicodeType = unicode
  22.     StringTypes = (StringType, UnicodeType)
  23. except NameError:
  24.     StringTypes = (StringType,)
  25.  
  26. BufferType = type(buffer(''))
  27. TupleType = tuple
  28. ListType = list
  29. DictType = DictionaryType = dict
  30.  
  31. def _f():
  32.     pass
  33.  
  34. FunctionType = type(_f)
  35. LambdaType = type((lambda : None))
  36.  
  37. try:
  38.     CodeType = type(_f.func_code)
  39. except RuntimeError:
  40.     pass
  41.  
  42.  
  43. def g():
  44.     yield 1
  45.  
  46. GeneratorType = type(g())
  47. del g
  48.  
  49. class _C:
  50.     
  51.     def _m(self):
  52.         pass
  53.  
  54.  
  55. ClassType = type(_C)
  56. UnboundMethodType = type(_C._m)
  57. _x = _C()
  58. InstanceType = type(_x)
  59. MethodType = type(_x._m)
  60. BuiltinFunctionType = type(len)
  61. BuiltinMethodType = type([].append)
  62. ModuleType = type(sys)
  63. FileType = file
  64. XRangeType = type(xrange(0))
  65.  
  66. try:
  67.     raise TypeError
  68. except TypeError:
  69.     
  70.     try:
  71.         tb = sys.exc_info()[2]
  72.         TracebackType = type(tb)
  73.         FrameType = type(tb.tb_frame)
  74.     except AttributeError:
  75.         pass
  76.  
  77.     tb = None
  78.     del tb
  79.  
  80. SliceType = type(slice(0))
  81. EllipsisType = type(Ellipsis)
  82. DictProxyType = type(TypeType.__dict__)
  83. del sys
  84. del _f
  85. del _C
  86. del _x
  87. del generators
  88.